package com.wchat.service;

import com.wchat.bean.model.MsgPayload;
import com.wchat.bean.model.enums.ChatTypeEm;

import java.util.Set;

/**
 * @author : willian fu
 * @date : 2021/8/31
 */
public interface MessageService {

    Object recallHistoryMsg(String msgId, ChatTypeEm type);

    Object getHistoryMsg(Integer size, Boolean sended, ChatTypeEm type, String msgId, Integer id);

    Object sendMsg(MsgPayload msgPayload);

    Object confirmMsgRevSuccess(Set<String> msgIds);
}
